package mapper;

import java.util.List;
import java.util.Map;

import bean.User;

public interface UserMapper{
	public void alterUserByOpenid(Map<String, Object> map);
	public void addUserOnlyOpenid(String openid);
	public User findByQQ(String qq);
	public User findById(Integer id);
	public User findByOpenid(String openid);
	public User findByName(String username);
	public List<User> findAll(Map<String, Object> map);
	public void delUser(Integer id);
	public void lockUser(Map<String, Object> map);
}